package com.lihaichen.utils.soap.web2;

import javax.xml.soap.SOAPMessage;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author richard.li
 */
public class Web2HelperTest1 {

    public Web2HelperTest1() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }

    @Before
    public void setUp() {
    }

    @After
    public void tearDown() {
    }

    String test1URLLink =  "http://localhost:8080/SampleRead/craftedService";
    /**
     * Test of callWS method, of class Web2Helper.
     */
    @Test
    public void testCallWS() throws Exception {
        System.out.println("callWS");
        int length = 3;
        Web2Helper instance = new Web2Helper();
        instance.setPrintEnabled(true);
        SOAPMessage expResult = null;
        SOAPMessage result = instance.callWS(test1URLLink, length);
//        assertEquals(expResult, result);

    }
   
}